package com.resrun.dao;

import com.resrun.model.CARequest;
import org.springframework.stereotype.Repository;

@Repository
public interface CARequestDao {

    void saveRequest(CARequest request);

    void updateRequest(CARequest request);

    CARequest getById(Long requestId);

    CARequest getLatestByUserId(Long userId);
}
